@import '@/assets/styles/mixin.scss';
body {
    height: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    // font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
    font-family: SourceHanSansCN;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: SourceHanSansCN;
    caret-color: transparent;
    &::-webkit-scrollbar-track-piece {
        border-radius: 0;
        background: #fff;
    }
    &::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    &::-webkit-scrollbar-thumb {
        border-radius: 6px;
        background: rgba(144, 147, 153, 0.4);
    }
}
input{
    caret-color: #666;
}


label {
    font-weight: 700;
}

html {
    height: 100%;
    box-sizing: border-box;
    overflow-y: scroll;
}

#app {
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a:focus,
a:active {
    outline: none;
}

a,
a:focus,
a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

div:focus {
    outline: none;
}

.clearfix {
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }
}

img {
    max-width: 100%;
}

.block {
    display: block;
}

.eils {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breakAll {
    word-break: break-all;
}

.over-auto {
    overflow-y: auto;
}

.over-hide {
    overflow-y: hidden;
}

.over-hide1 {
    overflow: hidden;
}
.over-hidex {
    overflow-x: hidden;
}

.relative {
    position: relative;
}

// main-container global css
.flex {
    display: flex;
}

.flex-colum {
    flex-direction: column;
}

.flex1 {
    flex: 1;
}
.flex2{
    flex: 2;
}

.flex-center {
    justify-content: center;
}

.flex-bet {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}
.align-strench{
    align-items: stretch;
}

.flex-wrap {
    flex-wrap: wrap;
}
.flex-s{
    flex-shrink:0;
}
.heiall {
    height: 100%;
    // background: white;
    background: rgb(243, 244, 245);;
}
.heiall0{
    height: 100%;
}
.widall {
    width: 100%;
}

.widHalf {
    width: 50%;
}

.heiHalf {
    height: 50%;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.pointer {
    cursor: pointer;
}

.bg-fff {
    background: #fff;
    border-radius: 10px;
}
.green{
    color: #00baad!important;
}
.red {
    color: #ff0000!important;
}

.blue {
    color: #409EFF!important;
}

.darkGray {
    color: #909399!important;
}

.orange {
    color: #E6A23C!important;
}

.c999 {
    color: #999;
}

.c666 {
    color: #666;
}

.c333 {
    color: #333;
}

.c000 {
    color: #000;
}

.cfff {
    color: #fff;
}
.mcolor{
    color: #14c1d7;
}
.text_underline{
    text-decoration: underline;
}
.radius50{
    border-radius: 50%;
}
.bold{
    font-weight: bold;
}
.font-m{
    font-weight: 500;
}

@for $i from 1 through 50 {
    .width-#{$i} {
        width:#{$i}px;
    }
    .height-#{$i} {
        height:#{$i}px;
    }
    .size-#{$i} {
        font-size:#{$i}px!important;
    }
    .linehei-#{$i} {
        line-height:#{$i}px!important;
    }
    .pad-t-#{$i} {
        padding-top:#{$i}px!important;
    }
    .pad-b-#{$i} {
        padding-bottom:#{$i}px!important;
    }
    .pad-l-#{$i} {
        padding-left:#{$i}px!important;
    }
    .pad-r-#{$i} {
        padding-right:#{$i}px!important;
    }
    .pad-#{$i} {
        padding:#{$i}px!important;
    }
    .mar-t-#{$i} {
        margin-top:#{$i}px!important;
    }
    .mar-b-#{$i} {
        margin-bottom:#{$i}px!important;
    }
    .mar-l-#{$i} {
        margin-left:#{$i}px!important;
    }
    .mar-r-#{$i} {
        margin-right:#{$i}px!important;
    }
    .mar-#{$i} {
        margin:#{$i}px!important;
    }
}

::-webkit-scrollbar {
  width: 8px; /* 滚动条宽度 */
}

::-webkit-scrollbar-thumb {
  background-color: rgba(1,1,1,0.2); /* 滚动条滑块颜色 */
  border-radius: 5px; /* 可选：滚动条滑块圆角 */
}
.el-dialog{
    background-color: rgb(52 57 74);
    width: 844px;
   
  }


  .headerBox{
    height: 40px;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 20px;
    div{
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    img{
        width: 22px;
        margin-right:5px;
    }
  }

  .caseBox{
    // height: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    font-size: 20px;
    // div{
    //   display: flex;
    //   align-items: center;
    //   justify-content: center;
    // }
    .desc{
     color: #86909c;
     font-size: 14px; 
     margin:16px 0px;
    }
  }
  // .dialog-footer{
  //   width: 100%;
  //   .el-button--primary{
  //     background-color: #4865FF;
  //     box-shadow: 0 2px 0 rgba(38, 56, 238, 0.11);
  //     border: none;
  //     width: 100%;
  //   }
  // }
  .inputListBox{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    .tip{
      font-weight: 700;
      color: #fff;
    }
    .normal{
      font-weight: 400;
      color: #C9CDD4;
      font-size: 16px;
    }
    .inputBox{
      margin-top: 12px;
      width: 100%;
    }
  }

  // .dialog_Content{
  //   height: 500px;
  //   display: flex;
  //   .tip{
  //     font-weight: 700;
  //     color: #fff;
  //   }
  //   .inputBox{
  //     margin-top: 12px;
  //   }

  //   .leftBox{
  //     width: 100%;
  //     position: relative;
  //   }
  //   .rightBox{
  //     width: 50%;
  //     position: relative;
  //   }
  //   .splitBox{
  //     height: 100%;
  //     border: 1px dashed rgb(92,104,121);
  //     transform: scaleX(0.5);
  //     margin: 0 20px;
  //   }

  //   .footerBtn{
  //     position: absolute;
  //     bottom: 0;
  //     left: 0;
  //     right: 0;
  //     display: flex;
  //     justify-content: center;
  //     .el-button{
  //       height: 32px;
  //       color: #fff;
  //       background-color: #00A4AB;
  //       box-shadow: 0 2px 0 rgba(0, 87, 93,.15);
  //       padding: 4px 15px;
  //       border-radius: 6px;
  //       border: none;
  //     }
  //     .el-button--info{
  //       background-color: #4865FF;
  //       box-shadow: 0 2px 0 rgba(38, 56, 238, 0.11);
  //     }
  //   }
  // }

  .inputBox{
    .el-textarea {
      border-color: #5c6879;
    }
    .el-textarea__inner {
      border-color: #5c6879;
      background-color: #1e2332;
      color: #fff;
    }
  
    .el-input__inner {
      border-color: #5c6879;
      background-color: #1e2332;
      color: #fff;
    }
  }

  .inputDeep {
    .el-input__inner {
      border-radius: 0; // 去除圆角
      border-top-width: 0px;
      border-left-width: 0px;
      border-right-width: 0px;
      border-bottom-width: 1px;
      border-color: black; //边框的颜色
    }
  }

  .el-textarea__inner::-webkit-scrollbar {
    width: 6px;
    height: 6px;
 }
 .el-textarea__inner::-webkit-scrollbar-thumb {
   border-radius: 3px;
     -moz-border-radius: 3px;
     -webkit-border-radius: 3px;
     background-color: #c3c3c3;
 }
 .el-textarea__inner::-webkit-scrollbar-track {
   background-color: transparent;
 }
 .flex_center{
  display: flex;
  align-items: center;
 }
 
 .keyBox{
  height: 200px;
 }



  @for $i from 1 through 50 {
    .width-#{$i} {
        width:#{$i}px;
    }
    .height-#{$i} {
        height:#{$i}px;
    }
    .size-#{$i} {
        font-size:#{$i}px!important;
    }
    .linehei-#{$i} {
        line-height:#{$i}px!important;
    }
    .pad-t-#{$i} {
        padding-top:#{$i}px!important;
    }
    .pad-b-#{$i} {
        padding-bottom:#{$i}px!important;
    }
    .pad-l-#{$i} {
        padding-left:#{$i}px!important;
    }
    .pad-r-#{$i} {
        padding-right:#{$i}px!important;
    }
    .pad-#{$i} {
        padding:#{$i}px!important;
    }
    .mar-t-#{$i} {
        margin-top:#{$i}px!important;
    }
    .mar-b-#{$i} {
        margin-bottom:#{$i}px!important;
    }
    .mar-l-#{$i} {
        margin-left:#{$i}px!important;
    }
    .mar-r-#{$i} {
        margin-right:#{$i}px!important;
    }
    .mar-#{$i} {
        margin:#{$i}px!important;
    }
}

